67 WDT_A_hold(WDT_A_BASE);
80 DAC12_A_initParam
param = {0};
81 param.submoduleSelect = DAC12_A_SUBMODULE_1;
82 param.outputSelect = DAC12_A_OUTPUT_1;
83 param.positiveReferenceVoltage = DAC12_A_VREF_INT;
84 param.outputVoltageMultiplier = DAC12_A_VREFx1;
85 param.amplifierSetting = DAC12_A_AMP_MEDIN_MEDOUT;
86 param.conversionTriggerSelect = DAC12_A_TRIGGER_ENCBYPASS;
87 DAC12_A_init(DAC12_A_BASE, &
param);
90 DAC12_A_calibrateOutput(DAC12_A_BASE,
94 while ( REF_ACTIVE == Ref_isRefGenBusy(REF_BASE) ) ;
97 Ref_setReferenceVoltage(REF_BASE,
101 Ref_enableReferenceVoltage(REF_BASE);
107 DAC12_A_setData(DAC12_A_BASE,
113 __bis_SR_register(LPM4_bits);
MPU_initThreeSegmentsParam param